package com.woniuxy.oldobject.entity;

import java.util.Date;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 员工(Staff)实体类
 *
 * @author makejava
 * @since 2022-07-25 15:07:43
 */
public class Staff implements Serializable {
    private static final long serialVersionUID = -89475769587503766L;
    /**
     * id
     */
    private Integer id;
    /**
     * 护工名
     */
    private String name;
    /**
     * 护工电话
     */
    private String phone;
    /**
     * 服务老人
     */
    private Integer elderId;
    /**
     * 头像
     */
    private String photo;
    /**
     * 创建人id
     */
    private Integer creatorId;
    /**
     * 修改人id
     */
    private Integer updaterId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 员工是否分配老人(0：未分配，1：已分配)
     */
    private Integer older;

    //护工服务的老人名字
    private List<Map> olders;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getElderId() {
        return elderId;
    }

    public void setElderId(Integer elderId) {
        this.elderId = elderId;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public Integer getUpdaterId() {
        return updaterId;
    }

    public void setUpdaterId(Integer updaterId) {
        this.updaterId = updaterId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getOlder() {
        return older;
    }

    public void setOlder(Integer older) {
        this.older = older;
    }

    public List<Map> getOlders() {
        return olders;
    }

    public void setOlders(List<Map> olders) {
        this.olders = olders;
    }
}

